package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.business.entity.AreaEntity;
import com.zlkj.pro.modular.business.model.dto.AreaDTO;
import com.zlkj.pro.modular.business.model.vo.AreaVO;

import java.util.List;

/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:34
 */
public interface AreaService extends IService<AreaEntity> {

    PageResult<AreaVO> findPage(AreaDTO dto);

    List<AreaVO> findList(AreaDTO dto);

    AreaVO findDetail(AreaDTO dto);

    boolean add(AreaDTO dto);

    boolean edit(AreaDTO dto);

    boolean delete(AreaDTO dto);

    boolean batchDelete(List<Long> ids);
}
